<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>gui2py: Fichero Fuente gui/controls/panel.py</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../edit.gif"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">gui2py
   &#160;<span id="projectnumber">0.9.3</span>
   </div>
   <div id="projectbrief">Interfaz de desarrollo de aplicaciones graficas</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generado por Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Buscar');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Página&#160;principal</span></a></li>
      <li><a href="../../namespaces.html"><span>Paquetes</span></a></li>
      <li><a href="../../annotated.html"><span>Clases</span></a></li>
      <li class="current"><a href="../../files.html"><span>Archivos</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Buscar" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../files.html"><span>Lista&#160;de&#160;archivos</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('d1/def/gui_2controls_2panel_8py_source.html','../../');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Todo</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Clases</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Archivos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Funciones</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Propiedades</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">panel.py</div>  </div>
</div><!--header-->
<div class="contents">
<a href="../../d1/def/gui_2controls_2panel_8py.html">Ir a la documentación de este archivo.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">#!/usr/bin/python</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"># -*- coding: utf-8 -*-</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="stringliteral">&quot;gui2py&#39;s Panel control + optional label/frame (uses wx.StatixBox &amp; wx.Panel)&quot;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;</div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;__author__ = <span class="stringliteral">&quot;Mariano Reingart (reingart@gmail.com)&quot;</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;__copyright__ = <span class="stringliteral">&quot;Copyright (C) 2013- Mariano Reingart&quot;</span>  <span class="comment"># where applicable</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;</div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"># Initial implementation was based on PythonCard&#39;s StatixBox component, </span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"># but redesigned and overhauled a lot (specs renamed, events refactorized, etc.)</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"># Note: Pythoncard&#39;s code was trivial, so it was almost reimplemented completely</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="keyword">import</span> wx</div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="keyword">from</span> ..event <span class="keyword">import</span> FormEvent</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="keyword">from</span> ..component <span class="keyword">import</span> Control, Component, ImageBackgroundMixin, SizerMixin</div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="keyword">from</span> ..spec <span class="keyword">import</span> Spec, EventSpec, InitSpec, StyleSpec, InternalSpec</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="keyword">from</span> .. <span class="keyword">import</span> registry</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="keyword">from</span> .. <span class="keyword">import</span> images</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="keyword">class </span>wx_Panel(wx.Panel):</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;    <span class="stringliteral">&quot;Fake/simple staticbox replacement to group controls&quot;</span> </div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;     </div>
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="../../db/d44/classgui_1_1controls_1_1panel_1_1wx__Panel.html#ae6f902a954a6f1e2dd24910dbf6b1106">   24</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../db/d44/classgui_1_1controls_1_1panel_1_1wx__Panel.html#ae6f902a954a6f1e2dd24910dbf6b1106">__init__</a>(self, parent, **kwargs):</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;        <span class="keywordflow">if</span> <span class="stringliteral">&#39;label&#39;</span> <span class="keywordflow">in</span> kwargs:</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;            del kwargs[<span class="stringliteral">&#39;label&#39;</span>]</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;        wx.Panel.__init__(self, parent, **kwargs)</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="keyword">class </span><a class="code" href="../../d3/d95/classgui_1_1controls_1_1panel_1_1wx__StaticBoxPanel.html">wx_StaticBoxPanel</a>(wx.Panel):</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;    <span class="stringliteral">&quot;A wx.Panel with an wx.StaticBox to easily group controls&quot;</span> </div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;     </div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="../../d3/d95/classgui_1_1controls_1_1panel_1_1wx__StaticBoxPanel.html#a6f57d6ce9225c73e342fcb5e6fb48fee">   33</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../d3/d95/classgui_1_1controls_1_1panel_1_1wx__StaticBoxPanel.html#a6f57d6ce9225c73e342fcb5e6fb48fee">__init__</a>(self, parent, **kwargs):</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;        label =kwargs[<span class="stringliteral">&#39;label&#39;</span>]</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;        del kwargs[<span class="stringliteral">&#39;label&#39;</span>]</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;        wx.Panel.__init__(self, parent, **kwargs)</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;        <span class="comment"># create the static box inside the panel so it is compatible with</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;        <span class="comment"># older wxpython versions (where child controls have to be siblings)</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;        <span class="comment"># and for handling TAB key navigation correctly on childrens</span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;        self.<a class="code" href="../../d3/d95/classgui_1_1controls_1_1panel_1_1wx__StaticBoxPanel.html#a82e90d32e0f695dd1bfd6df430ebfb47">staticbox</a> = wx.StaticBox(self, label=label)</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;        <span class="comment"># use a sizer so the StaticBox has the same size of the parent always</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;        box = wx.BoxSizer(wx.VERTICAL)</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;        box.Add(self.<a class="code" href="../../d3/d95/classgui_1_1controls_1_1panel_1_1wx__StaticBoxPanel.html#a82e90d32e0f695dd1bfd6df430ebfb47">staticbox</a>, 1, wx.EXPAND)</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;        self.SetAutoLayout(<span class="keyword">True</span>)</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;        self.SetSizer(box)</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;        self.Layout()</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    </div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="../../d3/d95/classgui_1_1controls_1_1panel_1_1wx__StaticBoxPanel.html#aa8583d8c4c995ddf363587fa6d202424">   48</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../d3/d95/classgui_1_1controls_1_1panel_1_1wx__StaticBoxPanel.html#aa8583d8c4c995ddf363587fa6d202424">GetLabel</a>(self):</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;        <span class="keywordflow">return</span> self.staticbox.GetLabel()</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    </div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="../../d3/d95/classgui_1_1controls_1_1panel_1_1wx__StaticBoxPanel.html#a891b433e18c2957a36259eabeaae46f1">   51</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../d3/d95/classgui_1_1controls_1_1panel_1_1wx__StaticBoxPanel.html#a891b433e18c2957a36259eabeaae46f1">SetLabel</a>(self, new_label):</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;        self.staticbox.SetLabel(new_label)</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    </div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="../../d3/d95/classgui_1_1controls_1_1panel_1_1wx__StaticBoxPanel.html#accd007c8bbe7564c052f65d706046c84">   54</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../d3/d95/classgui_1_1controls_1_1panel_1_1wx__StaticBoxPanel.html#accd007c8bbe7564c052f65d706046c84">Destroy</a>(self):</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;        <span class="stringliteral">&quot;Destroy the static box and panel&quot;</span></div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;        self.staticbox.Destroy()</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;        wx.Panel.Destroy(self)</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="keyword">class </span><a class="code" href="../../dc/d2c/classgui_1_1controls_1_1panel_1_1Panel.html">Panel</a>(Control, ImageBackgroundMixin, SizerMixin):</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    <span class="stringliteral">&quot;A container to group controls (optionally with a rectangle and title)&quot;</span></div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    </div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    _style = wx.NO_FULL_REPAINT_ON_RESIZE | wx.CLIP_SIBLINGS | wx.TAB_TRAVERSAL</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    _image = images.panel</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    </div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="../../dc/d2c/classgui_1_1controls_1_1panel_1_1Panel.html#a5782eeace0dafde3d9ed97e2cba796c2">   66</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../dc/d2c/classgui_1_1controls_1_1panel_1_1Panel.html#a5782eeace0dafde3d9ed97e2cba796c2">__init__</a>(self, *args, **kwargs):</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;        <span class="comment"># for the caption, create a static box with a rectangle around</span></div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;        <span class="comment"># (only in wx2.9, as previous version don&#39;t allow children):</span></div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;        <span class="keywordflow">if</span> <span class="stringliteral">&#39;label&#39;</span> <span class="keywordflow">in</span> kwargs <span class="keywordflow">and</span> kwargs[<span class="stringliteral">&#39;label&#39;</span>]:</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;            self.<a class="code" href="../../dc/d2c/classgui_1_1controls_1_1panel_1_1Panel.html#a16e9c296c82a07cffa6cd7c964f9c436">_wx_class</a> = wx_StaticBoxPanel</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;        <span class="keywordflow">else</span>:</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;            self.<a class="code" href="../../dc/d2c/classgui_1_1controls_1_1panel_1_1Panel.html#a16e9c296c82a07cffa6cd7c964f9c436">_wx_class</a> = wx_Panel</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;        Control.__init__(self, *args, **kwargs)</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;        <span class="comment"># sane default for tab caption (in designer)</span></div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="../../dc/d2c/classgui_1_1controls_1_1panel_1_1Panel.html#a2da12034f8abf756b99e57dafab55163">   76</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../dc/d2c/classgui_1_1controls_1_1panel_1_1Panel.html#a2da12034f8abf756b99e57dafab55163">_get_label</a>(self):</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;        <span class="keywordflow">return</span> self.wx_obj.GetLabel()</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;</div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="../../dc/d2c/classgui_1_1controls_1_1panel_1_1Panel.html#a3676aa58def31897797a5f5b2719ec9c">   79</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../dc/d2c/classgui_1_1controls_1_1panel_1_1Panel.html#a3676aa58def31897797a5f5b2719ec9c">_set_label</a>(self, new_text):</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;        <span class="keywordflow">if</span> new_text <span class="keywordflow">is</span> <span class="keywordflow">not</span> <span class="keywordtype">None</span>:</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;            self.wx_obj.SetLabel(new_text)</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    </div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    label = InitSpec(_get_label, _set_label, doc=<span class="stringliteral">&quot;Title&quot;</span>, type=<span class="stringliteral">&#39;string&#39;</span>)</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;<span class="comment"># update metadata for the add context menu at the designer:</span></div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;Panel._meta.valid_children = [ctr <span class="keywordflow">for</span> ctr <span class="keywordflow">in</span> registry.CONTROLS.values()</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;                                 <span class="keywordflow">if</span> ctr._image]   <span class="comment"># TODO: better filter</span></div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;Panel._meta.container = <span class="keyword">True</span></div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160; </div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;<span class="keywordflow">if</span> __name__ == <span class="stringliteral">&quot;__main__&quot;</span>:</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    <span class="keyword">import</span> sys</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    <span class="comment"># basic test until unit_test</span></div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    <span class="keyword">import</span> gui</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    app = wx.App(redirect=<span class="keyword">False</span>)    </div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    w = gui.Window(title=<span class="stringliteral">&quot;hello world&quot;</span>, name=<span class="stringliteral">&quot;frmTest&quot;</span>, tool_window=<span class="keyword">False</span>, </div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;               resizable=<span class="keyword">True</span>, visible=<span class="keyword">False</span>, pos=(180, 0))</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    p = gui.Panel(w, name=<span class="stringliteral">&quot;panel&quot;</span>, label=<span class="stringliteral">&quot;hello!&quot;</span>)</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    b = gui.Button(p, name=<span class="stringliteral">&quot;test&quot;</span>, label=<span class="stringliteral">&quot;click me!&quot;</span>)</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    </div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;    w.show()</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;    </div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    <span class="keyword">from</span> <a class="code" href="../../d4/d72/namespacegui_1_1tools_1_1inspector.html">gui.tools.inspector</a> <span class="keyword">import</span> InspectorTool</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    <a class="code" href="../../df/da2/classgui_1_1tools_1_1inspector_1_1InspectorTool.html">InspectorTool</a>().show(w)</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    <span class="keywordflow">print</span> wx.version()</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    app.MainLoop()</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;</div>
<div class="ttc" id="classgui_1_1controls_1_1panel_1_1wx__Panel_html_ae6f902a954a6f1e2dd24910dbf6b1106"><div class="ttname"><a href="../../db/d44/classgui_1_1controls_1_1panel_1_1wx__Panel.html#ae6f902a954a6f1e2dd24910dbf6b1106">gui.controls.panel.wx_Panel.__init__</a></div><div class="ttdeci">def __init__</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d1a/build_2lib_8linux-x86__64-2_87_2gui_2controls_2panel_8py_source.html#l00024">panel.py:24</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1panel_1_1Panel_html_a16e9c296c82a07cffa6cd7c964f9c436"><div class="ttname"><a href="../../dc/d2c/classgui_1_1controls_1_1panel_1_1Panel.html#a16e9c296c82a07cffa6cd7c964f9c436">gui.controls.panel.Panel._wx_class</a></div><div class="ttdeci">_wx_class</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d1a/build_2lib_8linux-x86__64-2_87_2gui_2controls_2panel_8py_source.html#l00070">panel.py:70</a></div></div>
<div class="ttc" id="classgui_1_1tools_1_1inspector_1_1InspectorTool_html"><div class="ttname"><a href="../../df/da2/classgui_1_1tools_1_1inspector_1_1InspectorTool.html">gui.tools.inspector.InspectorTool</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d7/da5/build_2lib_8linux-x86__64-2_87_2gui_2tools_2inspector_8py_source.html#l00281">inspector.py:281</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1panel_1_1Panel_html_a2da12034f8abf756b99e57dafab55163"><div class="ttname"><a href="../../dc/d2c/classgui_1_1controls_1_1panel_1_1Panel.html#a2da12034f8abf756b99e57dafab55163">gui.controls.panel.Panel._get_label</a></div><div class="ttdeci">def _get_label</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d1a/build_2lib_8linux-x86__64-2_87_2gui_2controls_2panel_8py_source.html#l00076">panel.py:76</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1panel_1_1wx__StaticBoxPanel_html"><div class="ttname"><a href="../../d3/d95/classgui_1_1controls_1_1panel_1_1wx__StaticBoxPanel.html">gui.controls.panel.wx_StaticBoxPanel</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d1a/build_2lib_8linux-x86__64-2_87_2gui_2controls_2panel_8py_source.html#l00030">panel.py:30</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1panel_1_1wx__StaticBoxPanel_html_a6f57d6ce9225c73e342fcb5e6fb48fee"><div class="ttname"><a href="../../d3/d95/classgui_1_1controls_1_1panel_1_1wx__StaticBoxPanel.html#a6f57d6ce9225c73e342fcb5e6fb48fee">gui.controls.panel.wx_StaticBoxPanel.__init__</a></div><div class="ttdeci">def __init__</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d1a/build_2lib_8linux-x86__64-2_87_2gui_2controls_2panel_8py_source.html#l00033">panel.py:33</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1panel_1_1Panel_html"><div class="ttname"><a href="../../dc/d2c/classgui_1_1controls_1_1panel_1_1Panel.html">gui.controls.panel.Panel</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d1a/build_2lib_8linux-x86__64-2_87_2gui_2controls_2panel_8py_source.html#l00060">panel.py:60</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1panel_1_1Panel_html_a5782eeace0dafde3d9ed97e2cba796c2"><div class="ttname"><a href="../../dc/d2c/classgui_1_1controls_1_1panel_1_1Panel.html#a5782eeace0dafde3d9ed97e2cba796c2">gui.controls.panel.Panel.__init__</a></div><div class="ttdeci">def __init__</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d1a/build_2lib_8linux-x86__64-2_87_2gui_2controls_2panel_8py_source.html#l00066">panel.py:66</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1panel_1_1Panel_html_a3676aa58def31897797a5f5b2719ec9c"><div class="ttname"><a href="../../dc/d2c/classgui_1_1controls_1_1panel_1_1Panel.html#a3676aa58def31897797a5f5b2719ec9c">gui.controls.panel.Panel._set_label</a></div><div class="ttdeci">def _set_label</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d1a/build_2lib_8linux-x86__64-2_87_2gui_2controls_2panel_8py_source.html#l00079">panel.py:79</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1panel_1_1wx__StaticBoxPanel_html_a82e90d32e0f695dd1bfd6df430ebfb47"><div class="ttname"><a href="../../d3/d95/classgui_1_1controls_1_1panel_1_1wx__StaticBoxPanel.html#a82e90d32e0f695dd1bfd6df430ebfb47">gui.controls.panel.wx_StaticBoxPanel.staticbox</a></div><div class="ttdeci">staticbox</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d1a/build_2lib_8linux-x86__64-2_87_2gui_2controls_2panel_8py_source.html#l00040">panel.py:40</a></div></div>
<div class="ttc" id="namespacegui_1_1tools_1_1inspector_html"><div class="ttname"><a href="../../d4/d72/namespacegui_1_1tools_1_1inspector.html">gui.tools.inspector</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d7/da5/build_2lib_8linux-x86__64-2_87_2gui_2tools_2inspector_8py_source.html#l00001">inspector.py:1</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1panel_1_1wx__StaticBoxPanel_html_aa8583d8c4c995ddf363587fa6d202424"><div class="ttname"><a href="../../d3/d95/classgui_1_1controls_1_1panel_1_1wx__StaticBoxPanel.html#aa8583d8c4c995ddf363587fa6d202424">gui.controls.panel.wx_StaticBoxPanel.GetLabel</a></div><div class="ttdeci">def GetLabel</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d1a/build_2lib_8linux-x86__64-2_87_2gui_2controls_2panel_8py_source.html#l00048">panel.py:48</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1panel_1_1wx__StaticBoxPanel_html_accd007c8bbe7564c052f65d706046c84"><div class="ttname"><a href="../../d3/d95/classgui_1_1controls_1_1panel_1_1wx__StaticBoxPanel.html#accd007c8bbe7564c052f65d706046c84">gui.controls.panel.wx_StaticBoxPanel.Destroy</a></div><div class="ttdeci">def Destroy</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d1a/build_2lib_8linux-x86__64-2_87_2gui_2controls_2panel_8py_source.html#l00054">panel.py:54</a></div></div>
<div class="ttc" id="classgui_1_1controls_1_1panel_1_1wx__StaticBoxPanel_html_a891b433e18c2957a36259eabeaae46f1"><div class="ttname"><a href="../../d3/d95/classgui_1_1controls_1_1panel_1_1wx__StaticBoxPanel.html#a891b433e18c2957a36259eabeaae46f1">gui.controls.panel.wx_StaticBoxPanel.SetLabel</a></div><div class="ttdeci">def SetLabel</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d1a/build_2lib_8linux-x86__64-2_87_2gui_2controls_2panel_8py_source.html#l00051">panel.py:51</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../dir_be831313eee9167e67543a36aa74e60d.html">gui</a></li><li class="navelem"><a class="el" href="../../dir_c9134ecc933fd451a588b777913cb500.html">controls</a></li><li class="navelem"><a class="el" href="../../d1/def/gui_2controls_2panel_8py.html">panel.py</a></li>
    <li class="footer">Generado el Domingo, 7 de Diciembre de 2014 18:59:47 para gui2py por
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
